/**
 * 
 */
package nl.sportan.samenloop;

import java.util.HashMap;

import nl.sportan.samenloop.adapter.ProgramPageAdapter;
import android.support.v4.view.PagerAdapter;

/**
 * @author bram
 *
 */
public class ProgramActivity extends ViewPagerActivity {

	public static String TAG = "ProgramActivity";
	
	/* (non-Javadoc)
	 * @see nl.sportan.samenloop.ViewPagerActivity#getTag()
	 */
	@Override
	protected String getTag() {
		return TAG;
	}

	/* (non-Javadoc)
	 * @see nl.sportan.samenloop.ViewPagerActivity#getPagerAdapter()
	 */
	@Override
	protected PagerAdapter getPagerAdapter() {
		return new ProgramPageAdapter(this);
	}

	/* (non-Javadoc)
	 * @see nl.sportan.samenloop.ViewPagerActivity#createTitleMap()
	 */
	@Override
	protected HashMap<Integer, Integer> createTitleMap() {
		HashMap<Integer, Integer> titles = new HashMap<Integer, Integer>(4);

		titles.put(0, R.string.program_stage);
		titles.put(1, R.string.program_field);
		
		return titles;
	}

}
